Skip to content

Fix missing copyright header and BOM in IA365EtwLogger.cs#220

Draft
Copilot wants to merge 3 commits intomainfrom
copilot/sub-pr-219
Draft

Fix missing copyright header and BOM in IA365EtwLogger.cs#220
Copilot wants to merge 3 commits intomainfrom
copilot/sub-pr-219

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 23, 2026

IA365EtwLogger.cs was missing the required Microsoft/MIT copyright header and had a leading UTF-8 BOM character.

Changes

  • src/Observability/Runtime/Etw/IA365EtwLogger.cs: Removed leading BOM (\xef\xbb\xbf) and added the standard copyright header before the first using directive:
    // Copyright (c) Microsoft Corporation.
    // Licensed under the MIT License.

💬 Send tasks to Copilot coding agent from Slack and Teams to turn conversations into code. Copilot posts an update in your thread when it's finished.

nikhilc-microsoft and others added 2 commits March 23, 2026 18:21
…ller constants to user.* namespace

1. Rename SourceMetadata class to Channel with simplified properties (Name, Link)
2. Update caller dimension constants:
   - CallerIdKey (microsoft.caller.id) -> UserIdKey (user.id)
   - CallerUpnKey (microsoft.caller.upn) -> UserEmailKey (user.email)
   - CallerNameKey (microsoft.caller.name) -> UserNameKey (user.name)
3. Update agent UPN constants:
   - AgentUPNKey (microsoft.agent.user.upn) -> AgentEmailKey (microsoft.agent.user.email)
   - CallerAgentUPNKey (microsoft.a365.caller.agent.user.upn) -> CallerAgentEmailKey (microsoft.a365.caller.agent.user.email)
4. Update all consumers: scopes, data builders, BaggageBuilder, ActivityProcessor, hosting extensions, middleware, ETW logger
5. Update all tests to use new naming

Port of microsoft/Agent365-python#208

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI changed the title [WIP] [WIP] Address feedback on renaming SourceMetadata to Channel in schema attributes Fix missing copyright header and BOM in IA365EtwLogger.cs Mar 23, 2026
Copilot AI requested a review from nikhilNava March 23, 2026 15:27
Base automatically changed from nikhilc/updateCallerSchema to main March 23, 2026 18:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants